package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 提现设置表
 * </p>
 *
 * @author WEN
 * @since 2024-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjWithdrawSet对象", description="提现设置表")
public class ZjWithdrawSet implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商家ID/主健ID")
    private Long id;

    @ApiModelProperty(value = "是否开启工单提现功能：0-关闭，1-开启")
    @TableField("is_enable_order_withdraw")
    private Boolean enableOrderWithdraw;

    @ApiModelProperty(value = "提现冻结期")
    private Integer withdrawFreezeDay;

    @ApiModelProperty(value = "每月提现次数")
    private Integer monthWithdrawQty;

    @ApiModelProperty(value = "是否开启提现审核：0-关闭，1-开启")
    @TableField("is_enable_withdraw_check")
    private Boolean enableWithdrawCheck;

    @ApiModelProperty(value = "最低提现金额")
    private BigDecimal minWithdrawMoney;

    @ApiModelProperty(value = "有权进行提现审核的人员JSON")
    private String withdrawPayEmp;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
